package com.woniu.airent.mapper;

import com.woniu.airent.entity.role;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface roleMapper {
    int deleteByPrimaryKey(Integer roleId);

    int insert(role record);

    role selectByPrimaryKey(Integer roleId);

    List<role> selectAll();

    int updateByPrimaryKey(role record);
}
